import React from "react";
import ReactDOM from "react-dom/client";
import Dialog from "./dialog";

function show() {
  const dom = document.createElement("div");
  const root = ReactDOM.createRoot(dom as HTMLElement);
  root.render(<Dialog />);
  document.body.appendChild(dom);
}

function open() {}

export { show, open };
